package com.koo.modules.bja.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.koo.common.utils.PageUtils;
import com.koo.modules.bja.entity.BjaInspectionOrderDetailEntity;
import com.koo.modules.bja.entity.BjaInspectionOrderEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 09:57:52
 */
public interface BjaInspectionOrderService extends IService<BjaInspectionOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<BjaInspectionOrderEntity> listInspectionOrders(Integer number);

    boolean findHasOrderByHeadNo(String headQuarterAllotNo);

    void insertByListAndUpdateState(List<BjaInspectionOrderEntity> outOrders, List<BjaInspectionOrderDetailEntity> orderDetails);
}

